import request from "../../utils/request";

export default {

//  创建订单号
  addOrder(automobileId) {
    return request({
      url: `/aaaa/createOrder/${automobileId}`,
      method: 'post'
    })
  },

//  根据id获取订单
  getOrder(orderId) {
    return request({
      url: `/aaaa/getOrderInfo/${orderId}`,
      method: 'get'
    })
  },

 // 生成二维码的方法
  createNatvie(orderId) {
    return request({
      url: `/aaaa/createNative/${orderId}`,
      method: 'get'
    })
  },

//  根据订单号查询状态
  queryStatus(orderId) {
    return request({
      url: `/aaaa/queryStatus/${orderId}`,
      method: 'get'
    })
  }


}










